package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSystemDao;
import com.appkubes.mall.core.entity.MallSystem;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSystemService extends AbstractBaseService<BaseMallSystemDao, MallSystem> {

    MallSystem getOneByEntity(MallSystem entity);

    List<MallSystem> selectListByEntity(MallSystem entity);

    IPage<MallSystem> selectPageByEntity(IPage<MallSystem> page);
    IPage<MallSystem> selectPageByEntity(PageVO pageVO);

    IPage<MallSystem> selectPageByEntity(MallSystem entity, IPage<MallSystem> page);
    IPage<MallSystem> selectPageByEntity(MallSystem entity, PageVO pageVO);

    IPage<MallSystem> selectPageByEntity(MallSystem entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSystem entity);
}
